<script type="text/html" template lay-done="layui.data.sendParams(d.params)">
  <div class="layui-form" lay-filter="form_real_name">
    <div class="layui-form-item">
      <label class="layui-form-label">真实姓名</label>
      <div class="layui-input-inline layui-word-aux layui-form-mid">
        {{d.params.real_name}}
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">身份证号</label>
      <div class="layui-input-inline layui-word-aux layui-form-mid">
        {{d.params.id_card}}
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">身份证照片</label>
      <div class="layui-input-block">
        <img style="width: 80px" src="{{d.params.id_card_front_image}}" layadmin-event="imagePreview"/>
        <img style="width: 80px" src="{{d.params.id_card_back_image}}" layadmin-event="imagePreview"/>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">地区编码</label>
      <div class="layui-word-aux layui-form-mid">
        省-{{d.params.province}} |
        市-{{d.params.city}} |
        区-{{d.params.district}}
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">详细地址</label>
      <div class="layui-word-aux layui-form-mid">
        {{d.params.address}}
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">开户行</label>
      <div class="layui-input-inline layui-word-aux layui-form-mid">
        {{d.params.bank_code}}
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">银行卡号</label>
      <div class="layui-input-inline layui-word-aux layui-form-mid">
        {{d.params.bank_card_no}}
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">手机号</label>
      <div class="layui-input-inline layui-word-aux layui-form-mid">
        {{d.params.bank_card_mobile}}
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">审核状态</label>
      <div class="layui-input-inline layui-word-aux layui-form-mid">
        {{# if (d.params.audit_status.value === 'pass') { }}
        <span class="layui-font-green">审核通过</span>
        {{# } }}
        {{# if (d.params.audit_status.value === 'reject') { }}
        <span class="layui-font-red">审核拒绝</span>
        {{# } }}
        {{# if (d.params.audit_status.value === 'waiting') { }}
        <span class="layui-font-gray">等待审核</span>
        {{# } }}
      </div>
    </div>
    {{# if (d.params.audit_status.value === 'reject') { }}
    <div class="layui-form-item">
      <label class="layui-form-label">拒绝原因</label>
      <div class="layui-input-inline layui-word-aux layui-form-mid">
        {{d.params.reject_reason}}
      </div>
    </div>
    {{# } }}
    <div class="layui-form-item">
      <label class="layui-form-label">易宝商户号</label>
      <div class="layui-input-inline layui-word-aux layui-form-mid">
        {{d.params.merchant_no}}
      </div>
    </div>
  </div>
</script>
<script>
  layui.data.sendParams = function (obj) {
    console.log(obj)
  }
</script>
